const key  = 'ydd-token'

// 存储token
export function setToken (token){
  localStorage.setItem(key, token)
}

// 获取token
export function getToken(){
  return localStorage.getItem(key)
}

// 删除token
export function removeToken(){
  localStorage.removeItem(key)
}